ArcoDecks = {
	"Basic" : [
		{
			name : "Brick Shortage",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 8,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addBricks(-8);
				opponent.addBricks(-8);
				debug("foo");
				ArcoSounds.ResourceDown.playclip();
			},
			text : "All players lose 8 bricks",
			css : "BrickShortage",
			color : "red",
			cost : 20
		},
		{
			name : "Lucky Cache",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 2,
			gems : 2,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : true,
			func : function(player, opponent) {
				player.addBricks(2);
				player.addGems(2);
				ArcoSounds.ResourceUp.playclip();
			},
			text : "+2 Bricks<br>+2 Gems<br>Play Again",
			css : "LuckyCache",
			color : "red",
			cost : 0
		},
		{
			name : "Friendly Terrain",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 1,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : true,
			func : function(player, opponent) {
				player.addWall(1);
				ArcoSounds.WallUp.playclip();
			},
			text : "+1 Wall<br>Play Again",
			css : "FriendlyTerrain",
			color : "red",
			cost : 1
		},
		{
			name : "Miners",
			quarry : 1,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addQuarry(1);
				ArcoSounds.ProductionUp.playclip();
			},
			text : "+1 Quarry",
			css : "Miners",
			color : "red",
			cost : 3
		},
		{
			name : "Mother Lode",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				if( parseInt(player.get("quarry")) < parseInt(opponent.get("quarry")) ) {
					player.addQuarry(2);
				} else {
					player.addQuarry(1);
				}
				ArcoSounds.ProductionUp.playclip();
			},
			text : "If quarry &lt; enemy quarry, +2 quarry<br>Else, +1 quarry",
			css : "MotherLode",
			color : "red",
			cost : 4
		},
		{
			name : "Dwarven Miners",
			quarry : 1,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 4,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				if( parseInt(player.get("quarry")) < parseInt(opponent.get("quarry")) ) {
					player.addQuarry(2);
				} else {
					player.addQuarry(1);
				}
				ArcoSounds.ProductionUp.playclip();
			},
			text : "If quarry &lt; enemy quarry, +2 quarry<br>Else, +1 quarry",
			css : "MotherLode",
			color : "red",
			cost : 4
		},
		{
			name : "Work Overtime",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : -6,
			recruits : 0,
			tower : 0,
			wall : 5,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(5);
				player.addGems(-6);
				ArcoSounds.WallUp.playclip();
			},
			text : "+5 Wall<br>You lose 6 gems",
			css : "Work Overtime",
			color : "red",
			cost : 2
		},
		{
			name : "Copping the Tech",
			quarry : 1,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				if( parseInt(player.get("quarry")) < parseInt(opponent.get("quarry")) ) {
					player.set({ "quarry" : parseInt(opponent.get("quarry")) });
				}
				ArcoSounds.ProductionUp.playclip();
			},
			text : "If quarry &lt; enemy quarry, quarry = enemy quarry",
			css : "CoppingTheTech",
			color : "red",
			cost : 5
		},
		{
			name : "Basic Wall",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 3,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(3);
				ArcoSounds.WallUp.playclip();
			},
			text : "+3 Wall",
			css : "BasicWall",
			color : "red",
			cost : 2
		},
		{
			name : "Sturdy Wall",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 4,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(4);
				ArcoSounds.WallUp.playclip();
			},
			text : "+4 Wall",
			css : "SturdyWall",
			color : "red",
			cost : 3
		},
		{
			name : "Innovations",
			quarry : 1,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 4,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addQuarry(1);
				opponent.addQuarry(1);
				player.addGems(4);
				ArcoSounds.ProductionUp.playclip();
			},
			text : "+1 To all players' quarrys, you gain 4 gems",
			css : "Innovations",
			color : "red",
			cost : 2
		},
		{
			name : "Foundations",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 3,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				if( parseInt(player.get("wall")) == 0 ) {
					player.addWall(6);
				} else {
					player.addWall(3);
				}
				ArcoSounds.WallUp.playclip();
			},
			text : "If wall = 0, +6 wall, else +3 wall",
			css : "Foundations",
			color : "red",
			cost : 3
		},
		{
			name : "Tremors",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : -5,
			damage : 5,
			discard : false,
			discardable : true,
			play_again : true,
			func : function(player, opponent) {
				player.addWall(-5);
				opponent.addWall(-5);
				ArcoSounds.Damage.playclip();
			},
			text : "All walls take 5 damage<br>Play Again",
			css : "Tremors",
			color : "red",
			cost : 7
		},
		{
			name : "Secret Room",
			quarry : 0,
			magic : 1,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : true,
			func : function(player, opponent) {
				player.addMagic(1);
				ArcoSounds.ProductionUp.playclip();
			},
			text : "+1 Magic<br>Play Again",
			css : "SecretRoom",
			color : "red",
			cost : 8
		},
		{
			name : "Earthquake",
			quarry : -1,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 1,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addQuarry(-1);
				opponent.addQuarry(-1);
				ArcoSounds.Damage.playclip();
			},
			text : "-1 To all players' quarrys",
			css : "Earthquake",
			color : "red",
			cost : 0
		},
		{
			name : "Big Wall",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 6,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(6);
				ArcoSounds.WallUp.playclip();
			},
			text : "+6 Wall",
			css : "Big Wall",
			color : "red",
			cost : 5
		},
		{
			name : "Collapse!",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 1,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.addQuarry(-1);
				ArcoSounds.ProductionDown.playclip();
			},
			text : "-1 Enemy quarry",
			css : "Collapse",
			color : "red",
			cost : 4
		},
		{
			name : "New Equipment",
			quarry : 2,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addQuarry(2);
				ArcoSounds.ProductionUp.playclip();
			},
			text : "+2 quarry",
			css : "NewEquipment",
			color : "red",
			cost : 6
		},
		{
			name : "Strip Mine",
			quarry : -1,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 5,
			recruits : 0,
			tower : 0,
			wall : 10,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addQuarry(-1);
				player.addWall(10);
				player.addGems(5);
				ArcoSounds.ResourceUp.playclip();
			},
			text : "-1 Quarry, +10 wall.  You gain 5 gems",
			css : "StripMine",
			color : "red",
			cost : 0
		},
		{
			name : "Reinforced Wall",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 8,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(8);
				ArcoSounds.WallUp.playclip();
			},
			text : "+8 Wall",
			css : "ReinforcedWall",
			color : "red",
			cost : 8
		},
		{
			name : "Portculus",
			quarry : 0,
			magic : 0,
			dungeon : 1,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 5,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(5);
				player.addDungeon(1);
				ArcoSounds.WallUp.playclip();
			},
			text : "+5 Wall<br>+1 Dungeon",
			css : "Portculus",
			color : "red",
			cost : 9
		},
		{
			name : "Crystal Rocks",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 7,
			recruits : 0,
			tower : 0,
			wall : 7,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(7);
				player.addGems(7);
				ArcoSounds.WallUp.playclip();
			},
			text : "+7 Wall<br>gain 7 gems",
			css : "CrystalRocks",
			color : "red",
			cost : 9
		},
		{
			name : "Harmonic Ore",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 3,
			wall : 6,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(6);
				player.addTower(3);
				ArcoSounds.TowerUp.playclip();
			},
			text : "+6 Wall<br>+3 Tower",
			css : "HarmonicOre",
			color : "red",
			cost : 11
		},
		{
			name : "MondoWall",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 12,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(12);
				ArcoSounds.WallUp.playclip();
			},
			text : "+12 Wall",
			css : "MondoWall",
			color : "red",
			cost : 13
		},
		{
			name : "Focused Designs",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 5,
			wall : 8,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(8);
				player.addTower(5);
				ArcoSounds.TowerUp.playclip();
			},
			text : "+8 Wall<br>+5 Tower",
			css : "FocusedDesigns",
			color : "red",
			cost : 15
		},
		{
			name : "Great Wall",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 15,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(15);
				ArcoSounds.WallUp.playclip();
			},
			text : "+15 Wall",
			css : "GreatWall",
			color : "red",
			cost : 16
		},
		{
			name : "Rock Launcher",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 6,
			damage : 10,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(6);
				opponent.takeDamage(10);
				ArcoSounds.Damage.playclip();
			},
			text : "+6 Wall<br>10 Damage to enemy",
			css : "Rock Launcher",
			color : "red",
			cost : 18
		},
		{
			name : "Dragon's Heart",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 8,
			wall : 20,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(20);
				player.addTower(8);
				ArcoSounds.TowerUp.playclip();
			},
			text : "+20 Wall<br>+8 Tower",
			css : "Dragon's Heart",
			color : "red",
			cost : 24
		},
		{
			name : "Forced Labor",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : -5,
			tower : 0,
			wall : 9,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(9);
				player.addRecruits(-5);
				ArcoSounds.ResourceUp.playclip();
			},
			text : "+9 Wall<br>Lose 5 recruits",
			css : "ForcedLabor",
			color : "red",
			cost : 7
		},
		{
			name : "Rock Garden",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 2,
			tower : 1,
			wall : 1,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(1);
				player.addTower(1);
				player.addRecruits(2);
				ArcoSounds.TowerUp.playclip();
			},
			text : "+1 Wall<br>+1 Tower<br>+2 recruits",
			css : "RockGarden",
			color : "red",
			cost : 1
		},
		{
			name : "Flood Water",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 1,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var playerWall = parseInt(player.get("wall"));
				var opponentWall = parseInt(opponent.get("wall"));
				if( playerWall < opponentWall ) {
					player.addDungeon(-1);
					player.addTower(-2);
				} else if( playerWall > opponentWall ) {
					opponent.addDungeon(-1);
					opponent.addTower(-2);
				} else {
					player.addDungeon(-1);
					player.addTower(-2);
					opponent.addDungeon(-1);
					opponent.addTower(-2);
				}
				ArcoSounds.Damage.playclip();
			},
			text : "Player(s) w/ lowest Wall are -1 Dungeon and 2 damage to Tower",
			css : "Flood Water",
			color : "red",
			cost : 6
		},
		{
			name : "Barracks",
			quarry : 0,
			magic : 0,
			dungeon : 1,
			bricks : 0,
			gems : 0,
			recruits : 6,
			tower : 1,
			wall : 6,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addRecruits(6);
				player.addWall(6);
				if( parseInt(player.get("dungeon")) < parseInt(opponent.get("dungeon")) ) {
					player.addDungeon(1);
				}
				ArcoSounds.WallUp.playclip();
			},
			text : "+6 recruits, +6 Wall<br>If dungeon &lt; enemy dungeon, +1 dungeon",
			css : "Barracks",
			color : "red",
			cost : 10
		},
		{
			name : "Battlements",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 7,
			damage : 6,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addWall(7);
				opponent.takeDamage(6);
				ArcoSounds.Damage.playclip();
			},
			text : "+7 Wall<br>6 damage to enemy",
			css : "Battlements",
			color : "red",
			cost : 14
		},
		{
			name : "Shift",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var playerWall = parseInt(player.get("wall"));
				var opponentWall = parseInt(opponent.get("wall"));
				player.set({ "wall" : opponentWall });
				opponent.set({ "wall" : playerWall });
				
				ArcoSounds.WallUp.playclip();
			},
			text : "Switch your Wall with enemy Wall",
			css : "Shift",
			color : "red",
			cost : 17
		},
		{
			name : "Quartz",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 1,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : true,
			func : function(player, opponent) {
				player.addTower(1);
				ArcoSounds.ResourceUp.playclip();
			},
			css : "Quartz",
			text : "+1 Tower<br>Play Again",
			color : "blue",
			cost : 1
		},
		{
			name : "Smoky Quartz",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 1,
			discard : false,
			discardable : true,
			play_again : true,
			func : function(player, opponent) {
				opponent.addTower(-1);
				ArcoSounds.Damage.playclip();
			},
			css : "SmokyQuartz",
			text : "1 Damage to enemy tower<br>Play Again",
			color : "blue",
			cost : 2
		},
		{
			name : "Amethyst",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 3,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(3);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Amethyst",
			text : "+3 Tower",
			color : "blue",
			cost : 2
		},
		{
			name : "Spell Weavers",
			quarry : 0,
			magic : 1,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addMagic(1);
				ArcoSounds.ProductionUp.playclip();
			},
			css : "SpellWeavers",
			text : "+1 Magic",
			color : "blue",
			cost : 3
		},
		{
			name : "Prism",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : true,
			discardable : true,
			play_again : true,
			func : function(player, opponent) {
				ArcoSounds.Deal.playclip();
			},
			css : "Prism",
			text : "Draw 1 card<br>Discard 1 card<br>Play Again",
			color : "blue",
			cost : 2
		},
		{
			name : "Lodestone",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 3,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : false,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(3);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Lodestone",
			text : "+3 Tower.  This card can't be discarded without playing it",
			color : "blue",
			cost : 5
		},
		{
			name : "Solar Flare",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 2,
			wall : 0,
			damage : 2,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(2);
				opponent.addTower(-2);
				ArcoSounds.TowerUp.playclip();
			},
			css : "SolarFlare",
			text : "+2 Tower<br>2 Damage to enemy tower",
			color : "blue",
			cost : 4
		},
		{
			name : "Crystal Matrix",
			quarry : 0,
			magic : 1,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 3,
			wall : 0,
			damage : -1,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addMagic(1);
				player.addTower(2);
				opponent.addTower(1);
				ArcoSounds.TowerUp.playclip();
			},
			css : "CrystalMatrix",
			text : "+1 Magic<br>+3 Tower<br>+1 Enemy tower",
			color : "blue",
			cost : 6
		},
		{
			name : "Gemstone Flaw",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 3,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.addTower(-3);
				ArcoSounds.Damage.playclip();
			},
			css : "GemstoneFlaw",
			text : "3 Damage to enemy tower",
			color : "blue",
			cost : 2
		},
		{
			name : "Ruby",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 5,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(5);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Ruby",
			text : "+5 Tower",
			color : "blue",
			cost : 3
		},
		{
			name : "Gem Spear",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 5,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.addTower(-5);
				ArcoSounds.Damage.playclip();
			},
			css : "GemSpear",
			text : "5 Damage to enemy tower",
			color : "blue",
			cost : 4
		},
		{
			name : "Power Burn",
			quarry : 0,
			magic : 2,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : -5,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(-5);
				player.addMagic(2);
				ArcoSounds.ProductionUp.playclip();
			},
			css : "PowerBurn",
			text : "5 Damage to your tower<br>+2 Magic",
			color : "blue",
			cost : 4
		},
		{
			name : "Harmonic Vibe",
			quarry : 0,
			magic : 1,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 3,
			wall : 3,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addMagic(1);
				player.addTower(3);
				player.addWall(3);
				ArcoSounds.TowerUp.playclip();
			},
			css : "HarmonicVibe",
			text : "+1 Magic<br>+3 Tower<br>+3 Wall",
			color : "blue",
			cost : 7
		},
		{
			name : "Parity",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var playerMagic = parseInt(player.get("magic"));
				var opponentMagic = parseInt(opponent.get("magic"));
				player.set({
					"magic" : _.max([playerMagic, opponentMagic])
				});
				opponent.set({
					"magic" : _.max([playerMagic, opponentMagic])
				});
				ArcoSounds.ProductionUp.playclip();
			},
			css : "Parity",
			text : "All players' magic equals the highest player's magic",
			color : "blue",
			cost : 7
		},
		{
			name : "Emerald",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 8,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(8);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Emerald",
			text : "+8 Tower",
			color : "blue",
			cost : 6
		},
		{
			name : "Pearl of Wisdom",
			quarry : 0,
			magic : 1,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 5,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(5);
				player.addMagic(1);
				ArcoSounds.TowerUp.playclip();
			},
			css : "PearlOfWisdom",
			text : "+5 Tower<br>+1 Magic",
			color : "blue",
			cost : 9
		},
		{
			name : "Shatterer",
			quarry : 0,
			magic : -1,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 9,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addMagic(-1);
				opponent.addTower(-9);
				ArcoSounds.Damage.playclip();
			},
			css : "Shatterer",
			text : "-1 Magic<br>9 Damage to enemy tower",
			color : "blue",
			cost : 8
		},
		{
			name : "Crumblestone",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 5,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(5);
				opponent.addBricks(-6);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Crumblestone",
			text : "+5 Tower<br>Enemy loses 6 bricks",
			color : "blue",
			cost : 7
		},
		{
			name : "Sapphire",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 11,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(11);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Sapphire",
			text : "+11 Tower",
			color : "blue",
			cost : 10
		},
		{
			name : "Discord",
			quarry : 0,
			magic : -1,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : -7,
			wall : 0,
			damage : -7,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(-7);
				opponent.addTower(-7);
				player.addMagic(-1);
				opponent.addMagic(-1);
				ArcoSounds.Damage.playclip();
			},
			css : "Discord",
			text : "7 Damage to all towers, all players' magic -1",
			color : "blue",
			cost : 5
		},
		{
			name : "Fire Ruby",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 6,
			wall : 0,
			damage : 4,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(6);
				opponent.addTower(4);
				ArcoSounds.TowerUp.playclip();
			},
			css : "FireRuby",
			text : "+6 Tower<br>4 Damage to all enemy towers",
			color : "blue",
			cost : 13
		},
		{
			name : "Quarry's Help",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : -10,
			gems : 0,
			recruits : 0,
			tower : 7,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(7);
				player.addBricks(10);
				ArcoSounds.TowerUp.playclip();
			},
			css : "QuarrysHelp",
			text : "+7 Tower<br>Lose 10 bricks",
			color : "blue",
			cost : 4
		},
		{
			name : "Crystal Shield",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 2,
			wall : 3,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(8);
				player.addWall(3);
				ArcoSounds.TowerUp.playclip();
			},
			css : "CrystalShield",
			text : "+8 Tower<br>+3 Wall",
			color : "blue",
			cost : 12
		},
		{
			name : "Empathy Gem",
			quarry : 0,
			magic : 0,
			dungeon : 1,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 8,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(8);
				player.addDungeon(1);
				ArcoSounds.TowerUp.playclip();
			},
			css : "EmpathyGem",
			text : "+8 Tower<br>+1 Dungeon",
			color : "blue",
			cost : 14
		},
		{
			name : "Diamond",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 15,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(15);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Diamon",
			text : "+15 Tower",
			color : "blue",
			cost : 16
		},
		{
			name : "Sanctuary",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 5,
			tower : 10,
			wall : 5,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(10);
				player.addWall(5);
				player.addRecruits(5);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Sanctuary",
			text : "+10 Tower<br>+5 Wall<br>Gain 5 recruits",
			color : "blue",
			cost : 15
		},
		{
			name : "Lava Jewel",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 12,
			wall : 0,
			damage : 6,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(12);
				opponent.takeDamage(6);
				ArcoSounds.TowerUp.playclip();
			},
			css : "LavaJewel",
			text : "+12 Tower<br>6 Damage to all enemies",
			color : "blue",
			cost : 17
		},
		{
			name : "Dragon's Eye",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 20,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(20);
				ArcoSounds.TowerUp.playclip();
			},
			css : "DragonsEye",
			text : "+20 Tower",
			color : "blue",
			cost : 21
		},
		{
			name : "Crystallize",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 11,
			wall : -6,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(11);
				player.addWall(-6);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Crystallize",
			text : "+11 Tower<br>-6 Wall",
			color : "blue",
			cost : 8
		},
		{
			name : "Bag of Baubles",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var playerTower = parseInt(player.get("tower"));
				var opponentTower = parseInt(opponent.get("tower"));
				if( playerTower < opponentTower ) {
					player.addTower(2);
				} else {
					player.addTower(1);
				}
				ArcoSounds.TowerUp.playclip();
			},
			css : "BagOfBaubles",
			text : "If Tower &lt; enemy Tower +2 Tower, else +1 Tower",
			color : "blue",
			cost : 0
		},
		{
			name : "Rainbow",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 3,
			recruits : 0,
			tower : 1,
			wall : 0,
			damage : -1,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(1);
				opponent.addTower(1);
				player.addGems(3);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Rainbow",
			text : "+1 Tower to all players.  You gain 3 gems",
			color : "blue",
			cost : 0
		},
		{
			name : "Apprentice",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : -3,
			tower : 4,
			wall : 0,
			damage : 2,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(4);
				player.addRecruits(-3);
				opponent.addTower(-2);
				ArcoSounds.TowerUp.playclip();
			},
			css : "Apprentice",
			text : "+4 Tower; you lose 3 recruits, 2 damage to enemy Tower",
			color : "blue",
			cost : 5
		},
		{
			name : "Lightning Shard",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 8,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var playerTower = parseInt(player.get("tower"));
				var opponentWall = parseInt(opponent.get("wall"));
				if( playerTower > opponentWall ) {
					opponent.addTower(-8);
				} else {
					opponent.takeDamage(8);
				}
				ArcoSounds.Damage.playclip();
			},
			css : "LightningShard",
			text : "If Tower &gt; enemy Wall, 8 damage to enemy Tower, else 8 damage",
			color : "blue",
			cost : 11
		},
		{
			name : "Phase Jewel",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 6,
			gems : 0,
			recruits : 6,
			tower : 13,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addTower(13);
				player.addRecruits(6);
				player.addBricks(6);
				ArcoSounds.TowerUp.playclip();
			},
			css : "PhaseJewel",
			text : "+13 Tower<br>+6 recruits<br>+6 bricks",
			color : "blue",
			cost : 18
		},
		{
			name : "Mad Cow Disease",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addRecruits(-6);
				opponent.addRecruits(-6);
				ArcoSounds.ResourceDown.playclip();
			},
			css : "MadCowDisease",
			text : "All players lose 6 recruits",
			color : "green",
			cost : 0
		},
		{
			name : "Faerie",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 2,
			discard : false,
			discardable : true,
			play_again : true,
			func : function(player, opponent) {
				opponent.takeDamage(2);
				ArcoSounds.Damage.playclip();
			},
			css : "Faerie",
			text : "2 Damage<br>Play Again",
			color : "green",
			cost : 1
		},
		{
			name : "Moody Goblins",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : -3,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 4,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(4);
				player.addGems(-3);
				ArcoSounds.Damage.playclip();
			},
			css : "MoodyGoblins",
			text : "4 Damage<br>You lose 3 gems",
			color : "green",
			cost : 1
		},
		{
			name : "Minotaur",
			quarry : 0,
			magic : 0,
			dungeon : 1,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addDungeon(1);
				ArcoSounds.ProductionUp.playclip();
			},
			css : "Minotaur",
			text : "+1 Dungeon",
			color : "green",
			cost : 3
		},
		{
			name : "Elven Scout",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : true,
			discardable : true,
			play_again : true,
			func : function(player, opponent) {
				ArcoSounds.Deal.playclip();
			},
			css : "ElvenScout",
			text : "Draw 1 card<br>Discard 1 card<br>Play Again",
			color : "green",
			cost : 2
		},
		{
			name : "Goblin Mob",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 6,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(6);
				player.takeDamage(3);
				ArcoSounds.Damage.playclip();
			},
			css : "GoblinMob",
			text : "6 Damage<br>You take 3 damage",
			color : "green",
			cost : 3
		},
		{
			name : "Goblin Archers",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 3,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.addTower(-3);
				player.takeDamage(1);
				ArcoSounds.Damage.playclip();
			},
			css : "GoblinArchers",
			text : "3 Damage to enemy ttower.  You take 1 damage",
			color : "green",
			cost : 4
		},
		{
			name : "Shadow Faerie",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 2,
			discard : false,
			discardable : true,
			play_again : true,
			func : function(player, opponent) {
				opponent.addTower(-2);
				ArcoSounds.Damage.playclip();
			},
			css : "ShadowFaerie",
			text : "2 Damage to enemy tower<br>Play Again",
			color : "green",
			cost : 6
		},
		{
			name : "Orc",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 5,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(5);
				ArcoSounds.Damage.playclip();
			},
			css : "Orc",
			text : "5 Damage",
			color : "green",
			cost : 3
		},
		{
			name : "Dwarves",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 3,
			damage : 4,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(4);
				player.addWall(3);
				ArcoSounds.WallUp.playclip();
			},
			css : "Dwarves",
			text : "4 Damage<br>+3 Wall",
			color : "green",
			cost : 5
		},
		{
			name : "Little Snakes",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 4,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.addTower(-4);
				ArcoSounds.Damage.playclip();
			},
			css : "Little Snakes",
			text : "4 Damage to enemy tower",
			color : "green",
			cost : 6
		},
		{
			name : "Troll Trainer",
			quarry : 0,
			magic : 0,
			dungeon : 2,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addDungeon(2);
				ArcoSounds.ProductionUp.playclip();
			},
			css : "TrollTrainer",
			text : "+2 Dungeon",
			color : "green",
			cost : 7
		},
		{
			name : "Tower Gremlin",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 2,
			wall : 4,
			damage : 2,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(2);
				player.addWall(4);
				player.addTower(2);
				ArcoSounds.TowerUp.playclip();
			},
			css : "TowerGremlin",
			text : "2 Damage<br>+4 Wall<br>+2 Tower",
			color : "green",
			cost : 8
		},
		{
			name : "Full Moon",
			quarry : 0,
			magic : 0,
			dungeon : 1,
			bricks : 0,
			gems : 0,
			recruits : 1,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				player.addDungeon(1);
				opponent.addDungeon(1);
				player.addRecruits(3);
				ArcoSounds.ProductionUp.playclip();
			},
			css : "FullMoon",
			text : "+1 to all players' Dungeon<br>You gain 3 recruits",
			color : "green",
			cost : 0
		},
		{
			name : "Slasher",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 6,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(6);
				ArcoSounds.Damage.playclip();
			},
			css : "Slasher",
			text : "6 Damage",
			color : "green",
			cost : 5
		},
		{
			name : "Ogre",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 6,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(7);
				ArcoSounds.Damage.playclip();
			},
			css : "Ogre",
			text : "7 Damage",
			color : "green",
			cost : 6
		},
		{
			name : "Rabid Sheep",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 9,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(6);
				opponent.addRecruits(-3);
				ArcoSounds.Damage.playclip();
			},
			css : "RabidSheep",
			text : "6 Damage<br>Enemy loses 3 recruits",
			color : "green",
			cost : 6
		},
		{
			name : "Imp",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 6,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(6);
				player.addBricks(-5);
				player.addGems(-5);
				player.addRecruits(-5);
				opponent.addBricks(-5);
				opponent.addGems(-5);
				opponent.addRecruits(-5);
				ArcoSounds.Damage.playclip();
			},
			css : "Imp",
			text : "6 Damage.  All players lose 5 bricks, gems and recruits",
			color : "green",
			cost : 5
		},
		{
			name : "Spizzer",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 6,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var opponentWall = parseInt(opponent.get("wall"));
				if( opponentWall == 0 ) {
					opponent.takeDamage(10);
				} else {
					opponent.takeDamage(6);
				}
				ArcoSounds.Damage.playclip();
			},
			css : "Spizzer",
			text : "If enemy wall = 0, 10 damage, else 6 damage",
			color : "green",
			cost : 8
		},
		{
			name : "Werewolf",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 9,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(9);
				ArcoSounds.Damage.playclip();
			},
			css : "Werewolf",
			text : "9 Damage",
			color : "green",
			cost : 9
		},
		{
			name : "Corrosion Cloud",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 7,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var opponentWall = parseInt(opponent.get("wall"));
				if( opponentWall > 0 ) {
					opponent.takeDamage(10);
				} else {
					opponent.takeDamage(7);
				}
				ArcoSounds.Damage.playclip();
			},
			css : "CorrosionCloud",
			text : "If enemy wall &gt; 0, 10 damage, else 7 damage",
			color : "green",
			cost : 11
		},
		{
			name : "Unicorn",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 8,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var playerMagic = parseInt(player.get("magic"));
				var opponentMagic = parseInt(opponent.get("magic"));
				if( playerMagic > opponentMagic ) {
					opponent.takeDamage(12);
				} else {
					opponent.takeDamage(8);
				}
				ArcoSounds.Damage.playclip();
			},
			css : "Unicorn",
			text : "If magic > enemy magic, 12 damage, else 8 damage",
			color : "green",
			cost : 9
		},
		{
			name : "Elven Archers",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 6,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var playerWall = parseInt(player.get("wall"));
				var opponentWall = parseInt(opponent.get("wall"));
				if( playerWall > opponentWall ) {
					opponent.addTower(-6);
				} else {
					opponent.takeDamage(6);
				}
				ArcoSounds.Damage.playclip();
			},
			css : "ElvenArchers",
			text : "If wall > enemy wall, 6 damage to enemy tower, else 6 damage",
			color : "green",
			cost : 10
		},
		{
			name : "Succubus",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 5,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.addTower(-5);
				opponent.addRecruits(-8);
				ArcoSounds.Damage.playclip();
			},
			css : "Succubus",
			text : "5 Damage to enemy tower, enemy loses 8 recruits",
			color : "green",
			cost : 14
		},
		{
			name : "Rock Stompers",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 8,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(8);
				opponent.addQuarry(-1);
				ArcoSounds.Damage.playclip();
			},
			css : "RockStompers",
			text : "8 Damage<br>-1 Enemy quarry",
			color : "green",
			cost : 11
		},
		{
			name : "Thief",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 0,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var gems = Math.min(10, parseInt(opponent.get("gems")));
				opponent.addGems(-gems);
				player.addGems(parseInt(Math.ceil(gems/2)));
				
				var bricks = Math.min(5, parseInt(opponent.get("bricks")));
				opponent.addBricks(-bricks);
				player.addBricks(parseInt(Math.ceil(bricks/2)));
				
				ArcoSounds.Damage.playclip();
			},
			css : "Thief",
			text : "Enemy loses 10 gems, 5 bricks, you gain 1/2 amt. round up",
			color : "green",
			cost : 12
		},
		{
			name : "Stone Giant",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 4,
			damage : 10,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(10);
				player.addWall(4);
				ArcoSounds.WallUp.playclip();
			},
			css : "StoneGiant",
			text : "10 Damage<br>+4 Wall",
			color : "green",
			cost : 15
		},
		{
			name : "Vampire",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 10,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(10);
				opponent.addRecruits(-5);
				opponent.addDungeon(-1);
				ArcoSounds.Damage.playclip();
			},
			css : "Vampire",
			text : "10 Damage<br>Enemy loses 5 recruits, -1 enemy Dungeon",
			color : "green",
			cost : 17
		},
		{
			name : "Dragon",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 20,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(20);
				opponent.addGems(-10);
				opponent.addDungeon(-1);
				ArcoSounds.Damage.playclip();
			},
			css : "Dragon",
			text : "20 Damage<br>Enemy loses 10 gems, -1 enemy Dungeon",
			color : "green",
			cost : 25
		},
		{
			name : "Spearman",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 2,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				var playerWall = parseInt(player.get("wall"));
				var opponentWall = parseInt(opponent.get("wall"));
				if( playerWall > opponentWall ) {
					opponent.takeDamage(3);
				} else {
					opponent.takeDamage(2);
				}
				ArcoSounds.Damage.playclip();
			},
			css : "Spearman",
			text : "If Wall > enemy Wall do 3 Damage, else do 2 Damage",
			color : "green",
			cost : 2
		},
		{
			name : "Gnome",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 1,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 3,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(3);
				player.addGems(1);
				ArcoSounds.ResourceUp.playclip();
			},
			css : "Gnome",
			text : "3 Damage<br>+1 gem",
			color : "green",
			cost : 2
		},
		{
			name : "Berserker",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 8,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(8);
				player.addTower(-3);
				ArcoSounds.Damage.playclip();
			},
			css : "Berserker",
			text : "8 Damage<br>3 Damage to your Tower",
			color : "green",
			cost : 4
		},
		{
			name : "Warlord",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : -3,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 13,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.takeDamage(13);
				player.addGems(-3);
				ArcoSounds.Damage.playclip();
			},
			css : "Warlord",
			text : "13 Damage<br>You lose 3 gems",
			color : "green",
			cost : 13
		},
		{
			name : "Pegasus Lancer",
			quarry : 0,
			magic : 0,
			dungeon : 0,
			bricks : 0,
			gems : 0,
			recruits : 0,
			tower : 0,
			wall : 0,
			damage : 12,
			discard : false,
			discardable : true,
			play_again : false,
			func : function(player, opponent) {
				opponent.addTower(-12);
				ArcoSounds.Damage.playclip();
			},
			css : "PegasusLancer",
			text : "12 Damage to enemy tower",
			color : "green",
			cost : 18
		},
	]
};